//
//  photoView.h
//  FaceRecognition
//
//  Created by zz on 16/12/1.
//  Copyright © 2016年 Sylar. All rights reserved.
//  带上传按钮与现实图片的复合view

#import <UIKit/UIKit.h>

@class photoView;
@protocol photoViewDelegate <NSObject>

- (void)selectPhoto:(photoView *)photoView;

@end

@interface photoView : UIView

/**显示图片*/
@property (nonatomic,strong) UIImageView *photoImageView;

@property (nonatomic,strong) UIImage *selectImage;

/**photoid 有这个说明是替换照片，没有是新加照片*/
@property (nonatomic,strong) NSNumber *photoId;

/**点击上传按钮*/
@property (nonatomic,strong) UIButton *selectBtn;

@property (nonatomic,weak) id<photoViewDelegate> delegate;
@end


